package top.tangyh.lamp.care.service.oralce.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import top.tangyh.lamp.care.entity.oracle.ViewICUOnlinePatients;
import top.tangyh.lamp.care.mapper.OracleViewMapper;
import top.tangyh.lamp.care.service.oralce.OracleViewService;

import java.util.List;

/**
 * @author: zqb
 * @date: 2025/1/3 14:15
 */
@Service
@RequiredArgsConstructor
@DS("oracle")
public class OracleViewServiceImpl implements OracleViewService {


    private final OracleViewMapper oracleViewMapper;

    @Override
    public List<ViewICUOnlinePatients> selectHisIcuONLINEPATIENTSAll() {
        return oracleViewMapper.selectHisIcuONLINEPATIENTSAll();
    }
}
